<?php
/**
 * Created by PhpStorm.
 * User: JieHuiLong
 * Date: 2017/3/9
 * Time: 9:18
 */
// $copy_url="http://123.56.225.126/";//SEM复制统计地址，以/结束
$copy_url="http://123.56.225.126:8081/";//cps复制统计地址，以/结束
//使用人物
$players[0]["name"]="诗诗";
$players[0]["pic1"]="http://adsource.b0.upaiyun.com/fage/diaocha/images/img1blue.png";
$players[0]["pic2"]="http://i.13e13e.cn/bin/img2.jpg";
$players[0]["pic3"]="";
$players[0]["pic4"]="";
$players[0]["pic5"]="";
$players[1]["name"]="佳佳";
$players[1]["pic1"]="http://adsource.b0.upaiyun.com/fage/diaocha/images/img1blue.png";
$players[1]["pic2"]="http://i.13e13e.cn/bin/img2-11.jpg";
$players[1]["pic3"]="";
$players[1]["pic4"]="";
$players[1]["pic5"]="";
$player=$players[0];

$tongjiJs="http://s11.cnzz.com/z_stat.php?id=1260767299&web_id=1260767227675675365546";//统计代码
$icpName='<script src="http://i.13e13e.cn/sanpao/js/cp.js" ></script>';//公司名，用于搜索引擎使用。

//僵尸域名
$zombie_url="http://sem9.ql9.com/?r=api/getzombie";
$showUrl=array(
    "fa.lvshou.com",
    "mc5.lvshou.com",
);//防屏蔽URL。
$jumpRoot="tz/";
$isUseZombieManage=true;//是否开启多域名跳转管理，不开启侧使用默认列表。


$update_time=1;//分钟，超过这分钟才去获取微信号。
$weixin_channel_id=83;//渠道id /81/82/83
$weixin_size=5;//要获取微信号的数量
$weixin_weixin_type=1;//0,微信号。1,QQ号
$weixin_url="http://client.onlinelibrary.cn/?channel_id={$weixin_channel_id}&size={$weixin_size}&type=".$weixin_weixin_type;

$default_weixin=["941925186","972419547","941907190","1324485297","941913793"];
//["微信号","随机显示值","上线时间"," "],
$OtherWeixin=[
    ["SSGW179","10","9:00","18:00"],
];


function get_real_ip()
{
    $ip=false;
    if(!empty($_SERVER["HTTP_CLIENT_IP"])){
        $ip = $_SERVER["HTTP_CLIENT_IP"];
    }
    if (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){
        $ips = explode (", ", $_SERVER['HTTP_X_FORWARDED_FOR']);
        if($ip){
            array_unshift($ips, $ip); $ip = FALSE;
        }
        for($i = 0; $i < count($ips); $i++){
            if (!eregi ("^(10|172\.16|192\.168)\.", $ips[$i])){
                $ip = $ips[$i];
                break;
            }
        }
    }
    return($ip ? $ip : $_SERVER['REMOTE_ADDR']);
}
//版权信息配置----Start
$copyrightDomain=[
    ["m.123advert.com","<br><br><a href='http://bd.123advert.com' target='_self'>返回首3页</a>"],
    ["m.132advert.com","<br><br><a href='http://bd.1233advert.com' target='_self'>1返回首3页</a>"],
    ["m.213advert.com","<br><br><a href='http://bd.1233advert.com' target='_self'>返回2首页</a>"],

];
$HTTP_HOST = $_SERVER["HTTP_HOST"];
$foot_copyright = "<br><br><a href='http://bd.123advert.com' target='_self'>返回首页</a>";
foreach ($copyrightDomain as $key =>$obj){
    if($HTTP_HOST == $obj[0]) $foot_copyright = $obj[1];
}
//版权信息配置----End